<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/4
 * Time: 22:20
 */

namespace App\SocketServe;


use App\SocketServe\src\SocketService;
use Illuminate\Support\ServiceProvider;

class SocketServiceProvider extends ServiceProvider
{

    public function boot()
    {

    }

    public function register()
    {
        $this->app->singleton('socket', function ($app) {
            return new SocketService();
        });
    }
}